<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="common/common.html::common_css">
</head>
<body>
<div class="page login-page">
    <div class="container">
        <div class="form-outer text-center d-flex align-items-center">
            <div class="form-inner">
                <div class="logo text-uppercase"><span>企业培训</span><strong class="text-primary">考试管理系统</strong></div>
                <p>&nbsp;</p>
                <p style="padding-left: 118px;padding-right: 118px;">欢迎使用本系统，请输入账号与密码以进行登录</p>
                <form method="post" class="text-left form-validate" th:action="@{/admin/admin_index.html}">
                    <div class="form-group-material">
                        <input id="login-username" type="text" name="username" required data-msg="请输入管理员账号"
                               class="input-material">
                        <label for="login-username" class="label-material">管理员账号</label>
                    </div>
                    <div class="form-group-material">
                        <input id="login-password" type="password" name="password" required data-msg="请输入管理员密码"
                               class="input-material">
                        <label for="login-password" class="label-material">密码</label>
                    </div>
                    <p style="color:red;margin-bottom: 20px" th:text="${lerrormsg}" th:if="${not #strings.isEmpty(lerrormsg)}"></p>
                    <div class="form-group text-center">
                        <input style="width: 100%" id="login" type="submit" value="登录" class="btn btn-primary">
                    </div>
                </form>
                <a href="#" class="forgot-pass" style="height: 1px">&nbsp;</a>
                <small>是考生账号？</small>
                <a th:href="@{/student/student_login.html}" class="signup">考生登录</a>
            </div>
            <div class="copyrights text-center">

            </div>
        </div>
    </div>
</div>
<div th:replace="common/common.html::common_js">
</div>
</body>
</html>